<?php

/* @var $this \yii\web\View */
/* @var $content string */


use frontend\assets\ShopAssets;
use frontend\widget\CopyrightWidget;
use frontend\widget\TopNavWidget;
use frontend\widget\HeadWidget;
use frontend\widget\NavEndWidget;
use yii\helpers\Html;
use yii\helpers\Url;
use frontend\widget\NavWidget;



ShopAssets::register($this);
?>
<?php $this->beginPage() ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
    <?= Html::csrfMetaTags() ?>
    <title><?= Html::encode($this->title) ?></title>
    <?php $this->head() ?>

</head>
<body>
<?php $this->beginBody() ?>
<!-- 顶部导航 start -->
<?=TopNavWidget::widget()?>
<!-- 顶部导航 end -->

<div style="clear:both;"></div>

<!-- 头部 start -->
<div class="header w1210 bc mt15">

    <div style="clear:both;"></div>

    <?=HeadWidget::widget()?>

    <!-- 导航条部分 start -->

    <?=NavWidget::widget(['expand'=>Yii::$app->controller->route=='shop/index']);?>
    <!--  商品分类部分 end-->

    <div class="navitems fl">
        <ul class="fl">
            <li class="current"><a href="">首页</a></li>
            <li><a href="">电脑频道</a></li>
            <li><a href="">家用电器</a></li>
            <li><a href="">品牌大全</a></li>
            <li><a href="">团购</a></li>
            <li><a href="">积分商城</a></li>
            <li><a href="">夺宝奇兵</a></li>
        </ul>
        <div class="right_corner fl"></div>
    </div>

<!-- 导航条部分 end -->

</div>
<!-- 头部 end-->

<div style="clear:both;"></div>
<?= $content ?>


<div style="clear:both;"></div>
<!-- 底部导航 start -->
<?=NavEndWidget::widget()?>
<!-- 底部导航 end -->

<div style="clear:both;"></div>
<!-- 底部版权 start -->
<?=CopyrightWidget::widget(); ?>
<!-- 底部版权 end -->

<?php $this->endBody() ?>
</body>
</html>
<?php $this->endPage() ?>